﻿@model WebComTest.WebUI.Models.TestData

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<div>
    <h4>TestData</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.ProjectEnvironment.Name)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ProjectEnvironment.Name)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.TestCase.Name)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.TestCase.Name)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.JsonMessageFormatted)
        </dt>

        <dd>
            <span style="white-space: pre-line">@Model.JsonMessageFormatted</span>
        </dd>

    </dl>
</div>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) |
    @Html.ActionLink("Local Execution", "LocalExecution", new { id = Model.Id }) |
    @Html.ActionLink("Remote Execution", "RemoteExecution", new { id = Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
